package com.producer.spring_producer.entity;

import java.io.Serializable;

/**
 * @author yy
 * @date 2019/10/29 23:38
 **/
public class Order implements Serializable {

    private static final long serialVersionUID = 152291609049620042L;

    private String id;

    private String name;

    private String messageId; // 存储消息发送的唯一标识

    public Order(String id, String name, String messageId) {
        this.id = id;
        this.name = name;
        this.messageId = messageId;
    }

    public Order() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }
}
